import Vue from 'vue'
import Router from 'vue-router'
import  Home  from '@/components/Home'
import  ActionList from '../components/action/ActionList'

import  SetTime from '../components/action/actionList/SetTime'
import  SetOrganization from '../components/action/actionList/SetOrganization'
import  RoleMassage from '../components/action/actionList/RoleMassage.vue'
import  SetPrice from '../components/action/actionList/SetPrice'
import  EquipmentMonitoring from '../components/action/actionList/EquipmentMonitoring.vue'
import  OrdersStatistics from '../components/action/actionList/OrdersStatistics.vue'
import  StaffMassage from '../components/action/actionList/StaffMassage.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home,
      children:[
        {
          path: '/ActionList',
          name: 'ActionList',
          component: ActionList
        },{
        path: '/SetPrice',
        name: 'SetPrice',
        component: SetPrice
      },{
        path: '/SetTime',
        name: 'SetTime',
        component: SetTime
      },{
          path: '/SetOrganization',
          name: 'SetOrganization',
          component: SetOrganization
        },{
          path: '/RoleMassage',
          name: 'RoleMassage',
          component: RoleMassage
        },{
          path: '/OrdersStatistics',
          name: 'OrdersStatistics',
          component: OrdersStatistics
        },
        {
          path: '/EquipmentMonitoring',
          name: 'EquipmentMonitoring',
          component: EquipmentMonitoring
        },
        {
          path: '/StaffMassage',
          name: 'StaffMassage',
          component: StaffMassage
        },
      ]
    },

  ]
})
